package com.example.librarymanagement.dto.type;


import com.example.librarymanagement.entity.Type;
import com.example.librarymanagement.util.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author lzx
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class TypeAddDto extends BaseDto<Type> {


    @ApiModelProperty(value = "书码", required = true)
    private String code;

    @ApiModelProperty(value = "类型", required = true)
    private String typeName;
}
